package com.chain.BrotherExchange.im.entity;

public class ReceiveMessage {

    public static final int SUCCESS = 0;
    public static final int AUTHENTICATION_TYPE = 0;
    public static final int MESSAGE_TYPE = 1;

    /**
     * code : 0
     * resp_type : 1
     * data : {"info_type":2,"order_id":"342432432423l234","content":"asdnifdsnisaodfnoasn","created_time":"2018-08-03 09:41:21"}
     * msg : 成功
     */

    private int code;

    private int resp_type;
    private DataBean data;
    private String msg;

    public ReceiveMessage() {
    }

    public ReceiveMessage(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getResp_type() {
        return resp_type;
    }

    public void setResp_type(int resp_type) {
        this.resp_type = resp_type;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * info_type : 2
         * order_id : 342432432423l234
         * content : asdnifdsnisaodfnoasn
         * created_time : 2018-08-03 09:41:21
         */

        private int info_type;
        private String order_id;
        private String content;
        private String created_time;
        private int uid;

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public int getInfo_type() {
            return info_type;
        }

        public void setInfo_type(int info_type) {
            this.info_type = info_type;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }
    }
}
